// Lean compiler output
// Module: Lean.Server.Completion.CompletionItemCompression
// Imports: public import Lean.Data.Lsp.LanguageFeatures
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__6;
lean_object* lean_string_utf8_next_fast(lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__2;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__0;
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_String_Slice_PosIterator_instIteratorSubtypePosNeEndPosOfPure___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
static lean_object* l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__0;
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__3;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__2;
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___lam__3___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__0___boxed(lean_object*, lean_object*, lean_object*);
lean_object* lean_array_fget_borrowed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__2;
LEAN_EXPORT uint32_t l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__6(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast(lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__4;
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___lam__18___boxed(lean_object*, lean_object*);
lean_object* l_Id_instMonad___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_string_utf8_byte_size(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___lam__8___boxed(lean_object*, lean_object*);
uint32_t lean_string_utf8_get_fast(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_ResolvableCompletionList_compressFast(lean_object*);
lean_object* l_Nat_reprFast(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast(lean_object*, lean_object*);
lean_object* l_Std_Iterators_instIteratorMap___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__7;
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint32_t l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___lam__18(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__3;
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast(lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__12;
lean_object* l_Lean_Lsp_CompletionItemKind_ctorIdx(uint8_t);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__4;
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__0(uint32_t, lean_object*, lean_object*);
lean_object* l_Id_instMonad___lam__2___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__6;
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__6___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__11;
static lean_object* l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__1;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__5;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__10;
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__2;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__1;
LEAN_EXPORT lean_object* l_Lean_Lsp_ResolvableCompletionList_compressFast___boxed(lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__1;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__1;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
lean_object* l_Id_instMonad___lam__3(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__0;
static lean_object* l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__3;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__7;
LEAN_EXPORT uint32_t l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___lam__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__2(lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__2;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__1;
lean_object* l_Id_instMonad___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__0;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__4;
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast___closed__0;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__5;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__9;
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__7;
lean_object* lean_nat_sub(lean_object*, lean_object*);
LEAN_EXPORT uint32_t l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___lam__8(lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__1;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13;
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast(lean_object*, lean_object*);
lean_object* l_Id_instMonad___lam__6(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__8;
lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__0;
static lean_object* l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__4;
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast(lean_object*, lean_object*);
lean_object* lean_string_append(lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__14;
lean_object* lean_array_get_size(lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__3;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__5;
lean_object* l_Id_instMonad___lam__0(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_String_Slice_positions(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__2___boxed(lean_object*, lean_object*);
lean_object* lean_nat_add(lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__0;
static lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__15;
lean_object* l___private_Lean_Data_Json_Printer_0__Lean_Json_escapeAux(lean_object*, uint32_t);
lean_object* l_Id_instMonad___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__0(uint32_t x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; 
x_4 = l___private_Lean_Data_Json_Printer_0__Lean_Json_escapeAux(x_3, x_1);
x_5 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = lean_apply_1(x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_inc(x_2);
return x_2;
}
}
LEAN_EXPORT uint32_t l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__6(lean_object* x_1, lean_object* x_2) {
_start:
{
uint32_t x_3; 
x_3 = lean_string_utf8_get_fast(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("]", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("\"", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("[", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("\"c", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__0), 4, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__1___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__2___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__3), 4, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__4___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__5___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__6), 4, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__5;
x_2 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__4;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_1 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__9;
x_2 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__8;
x_3 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__7;
x_4 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6;
x_5 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__11;
x_6 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_6, 0, x_5);
lean_ctor_set(x_6, 1, x_4);
lean_ctor_set(x_6, 2, x_3);
lean_ctor_set(x_6, 3, x_2);
lean_ctor_set(x_6, 4, x_1);
return x_6;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__10;
x_2 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__12;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("\"f", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(",", 1, 1);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint32_t x_4; lean_object* x_5; 
x_4 = lean_unbox_uint32(x_1);
lean_dec(x_1);
x_5 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__0(x_4, x_2, x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__2(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__6___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint32_t x_3; lean_object* x_4; 
x_3 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__6(x_1, x_2);
lean_dec(x_2);
lean_dec_ref(x_1);
x_4 = lean_box_uint32(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_7; lean_object* x_11; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_62; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; 
x_15 = lean_ctor_get(x_2, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_2, 1);
lean_inc_ref(x_16);
x_17 = lean_ctor_get(x_2, 2);
lean_inc(x_17);
x_18 = lean_ctor_get(x_2, 3);
lean_inc(x_18);
lean_dec_ref(x_2);
x_19 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__0___boxed), 3, 0);
x_20 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__1), 4, 0);
x_21 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__2___boxed), 2, 0);
x_22 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__2;
x_23 = lean_string_append(x_1, x_22);
x_24 = 1;
x_77 = l_Lean_Name_toString(x_15, x_24);
x_78 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_79 = lean_string_append(x_23, x_78);
x_80 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_77);
if (x_80 == 0)
{
lean_object* x_81; lean_object* x_82; 
x_81 = lean_string_append(x_79, x_77);
lean_dec_ref(x_77);
x_82 = lean_string_append(x_81, x_78);
x_62 = x_82;
goto block_76;
}
else
{
lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; 
lean_inc_ref(x_77);
x_83 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__6___boxed), 2, 1);
lean_closure_set(x_83, 0, x_77);
x_84 = lean_unsigned_to_nat(0u);
x_85 = lean_string_utf8_byte_size(x_77);
x_86 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_86, 0, x_77);
lean_ctor_set(x_86, 1, x_84);
lean_ctor_set(x_86, 2, x_85);
x_87 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6;
x_88 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13;
lean_inc_ref(x_86);
x_89 = l_String_Slice_PosIterator_instIteratorSubtypePosNeEndPosOfPure___redArg(x_86, x_87);
x_90 = l_String_Slice_positions(x_86);
lean_dec_ref(x_86);
lean_inc_ref(x_21);
x_91 = l_Std_Iterators_instIteratorMap___redArg(x_88, x_89, x_21, x_83);
lean_inc_ref(x_19);
lean_inc_ref(x_20);
x_92 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_91, x_88, x_20, x_90, x_79, x_19);
x_93 = lean_string_append(x_92, x_78);
x_62 = x_93;
goto block_76;
}
block_6:
{
lean_object* x_4; lean_object* x_5; 
x_4 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__0;
x_5 = lean_string_append(x_3, x_4);
return x_5;
}
block_10:
{
lean_object* x_8; lean_object* x_9; 
x_8 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_9 = lean_string_append(x_7, x_8);
x_3 = x_9;
goto block_6;
}
block_14:
{
lean_object* x_12; lean_object* x_13; 
x_12 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_13 = lean_string_append(x_11, x_12);
x_3 = x_13;
goto block_6;
}
block_61:
{
if (lean_obj_tag(x_18) == 1)
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_18, 0);
lean_inc(x_27);
lean_dec_ref(x_18);
x_28 = lean_string_append(x_26, x_25);
lean_dec_ref(x_25);
if (lean_obj_tag(x_27) == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; 
x_29 = lean_ctor_get(x_27, 0);
lean_inc(x_29);
lean_dec_ref(x_27);
x_30 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__3;
x_31 = lean_string_append(x_28, x_30);
x_32 = l_Lean_Name_toString(x_29, x_24);
x_33 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_32);
if (x_33 == 0)
{
lean_object* x_34; 
lean_dec_ref(x_21);
lean_dec_ref(x_20);
lean_dec_ref(x_19);
x_34 = lean_string_append(x_31, x_32);
lean_dec_ref(x_32);
x_11 = x_34;
goto block_14;
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; 
lean_inc_ref(x_32);
x_35 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__6___boxed), 2, 1);
lean_closure_set(x_35, 0, x_32);
x_36 = lean_unsigned_to_nat(0u);
x_37 = lean_string_utf8_byte_size(x_32);
x_38 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_38, 0, x_32);
lean_ctor_set(x_38, 1, x_36);
lean_ctor_set(x_38, 2, x_37);
x_39 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6;
x_40 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13;
lean_inc_ref(x_38);
x_41 = l_String_Slice_PosIterator_instIteratorSubtypePosNeEndPosOfPure___redArg(x_38, x_39);
x_42 = l_String_Slice_positions(x_38);
lean_dec_ref(x_38);
x_43 = l_Std_Iterators_instIteratorMap___redArg(x_40, x_41, x_21, x_35);
x_44 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_43, x_40, x_20, x_42, x_31, x_19);
x_11 = x_44;
goto block_14;
}
}
else
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; 
x_45 = lean_ctor_get(x_27, 0);
lean_inc(x_45);
lean_dec_ref(x_27);
x_46 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__14;
x_47 = lean_string_append(x_28, x_46);
x_48 = l_Lean_Name_toString(x_45, x_24);
x_49 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_48);
if (x_49 == 0)
{
lean_object* x_50; 
lean_dec_ref(x_21);
lean_dec_ref(x_20);
lean_dec_ref(x_19);
x_50 = lean_string_append(x_47, x_48);
lean_dec_ref(x_48);
x_7 = x_50;
goto block_10;
}
else
{
lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 
lean_inc_ref(x_48);
x_51 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__6___boxed), 2, 1);
lean_closure_set(x_51, 0, x_48);
x_52 = lean_unsigned_to_nat(0u);
x_53 = lean_string_utf8_byte_size(x_48);
x_54 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_54, 0, x_48);
lean_ctor_set(x_54, 1, x_52);
lean_ctor_set(x_54, 2, x_53);
x_55 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6;
x_56 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13;
lean_inc_ref(x_54);
x_57 = l_String_Slice_PosIterator_instIteratorSubtypePosNeEndPosOfPure___redArg(x_54, x_55);
x_58 = l_String_Slice_positions(x_54);
lean_dec_ref(x_54);
x_59 = l_Std_Iterators_instIteratorMap___redArg(x_56, x_57, x_21, x_51);
x_60 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_59, x_56, x_20, x_58, x_47, x_19);
x_7 = x_60;
goto block_10;
}
}
}
else
{
lean_dec_ref(x_25);
lean_dec_ref(x_21);
lean_dec_ref(x_20);
lean_dec_ref(x_19);
lean_dec(x_18);
x_3 = x_26;
goto block_6;
}
}
block_76:
{
lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; 
x_63 = lean_ctor_get(x_16, 0);
lean_inc(x_63);
x_64 = lean_ctor_get(x_16, 1);
lean_inc(x_64);
lean_dec_ref(x_16);
x_65 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__15;
x_66 = lean_string_append(x_62, x_65);
x_67 = l_Nat_reprFast(x_63);
x_68 = lean_string_append(x_66, x_67);
lean_dec_ref(x_67);
x_69 = lean_string_append(x_68, x_65);
x_70 = l_Nat_reprFast(x_64);
x_71 = lean_string_append(x_69, x_70);
lean_dec_ref(x_70);
if (lean_obj_tag(x_17) == 1)
{
lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; 
x_72 = lean_ctor_get(x_17, 0);
lean_inc(x_72);
lean_dec_ref(x_17);
x_73 = lean_string_append(x_71, x_65);
x_74 = l_Nat_reprFast(x_72);
x_75 = lean_string_append(x_73, x_74);
lean_dec_ref(x_74);
x_25 = x_65;
x_26 = x_75;
goto block_61;
}
else
{
lean_dec(x_17);
x_25 = x_65;
x_26 = x_71;
goto block_61;
}
}
}
}
LEAN_EXPORT uint32_t l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___lam__3(lean_object* x_1, lean_object* x_2) {
_start:
{
uint32_t x_3; 
x_3 = lean_string_utf8_get_fast(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("}", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__0___boxed), 3, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__1), 4, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__2___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("{\"kind\":\"", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("\",\"value\":", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("plaintext", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("markdown", 8, 8);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___lam__3___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint32_t x_3; lean_object* x_4; 
x_3 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___lam__3(x_1, x_2);
lean_dec(x_2);
lean_dec_ref(x_1);
x_4 = lean_box_uint32(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_7 = lean_ctor_get_uint8(x_2, sizeof(void*)*1);
x_8 = lean_ctor_get(x_2, 0);
lean_inc_ref(x_8);
lean_dec_ref(x_2);
x_9 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__1;
x_10 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__2;
x_11 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__3;
if (x_7 == 0)
{
lean_object* x_35; 
x_35 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__6;
x_12 = x_35;
goto block_34;
}
else
{
lean_object* x_36; 
x_36 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__7;
x_12 = x_36;
goto block_34;
}
block_6:
{
lean_object* x_4; lean_object* x_5; 
x_4 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0;
x_5 = lean_string_append(x_3, x_4);
return x_5;
}
block_34:
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; 
x_13 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__4;
x_14 = lean_string_append(x_1, x_13);
x_15 = lean_string_append(x_14, x_12);
lean_dec_ref(x_12);
x_16 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__5;
x_17 = lean_string_append(x_15, x_16);
x_18 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_19 = lean_string_append(x_17, x_18);
x_20 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_8);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; 
x_21 = lean_string_append(x_19, x_8);
lean_dec_ref(x_8);
x_22 = lean_string_append(x_21, x_18);
x_3 = x_22;
goto block_6;
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 
lean_inc_ref(x_8);
x_23 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___lam__3___boxed), 2, 1);
lean_closure_set(x_23, 0, x_8);
x_24 = lean_unsigned_to_nat(0u);
x_25 = lean_string_utf8_byte_size(x_8);
x_26 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_26, 0, x_8);
lean_ctor_set(x_26, 1, x_24);
lean_ctor_set(x_26, 2, x_25);
x_27 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6;
x_28 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13;
lean_inc_ref(x_26);
x_29 = l_String_Slice_PosIterator_instIteratorSubtypePosNeEndPosOfPure___redArg(x_26, x_27);
x_30 = l_String_Slice_positions(x_26);
lean_dec_ref(x_26);
x_31 = l_Std_Iterators_instIteratorMap___redArg(x_28, x_29, x_11, x_23);
x_32 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_31, x_28, x_10, x_30, x_19, x_9);
x_33 = lean_string_append(x_32, x_18);
x_3 = x_33;
goto block_6;
}
}
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("{\"character\":", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(",\"line\":", 8, 8);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
x_4 = lean_ctor_get(x_2, 1);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__0;
x_6 = lean_string_append(x_1, x_5);
x_7 = l_Nat_reprFast(x_4);
x_8 = lean_string_append(x_6, x_7);
lean_dec_ref(x_7);
x_9 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__1;
x_10 = lean_string_append(x_8, x_9);
x_11 = l_Nat_reprFast(x_3);
x_12 = lean_string_append(x_10, x_11);
lean_dec_ref(x_11);
x_13 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0;
x_14 = lean_string_append(x_12, x_13);
return x_14;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("{\"end\":", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(",\"start\":", 9, 9);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_3 = lean_ctor_get(x_2, 1);
lean_inc_ref(x_3);
x_4 = lean_ctor_get(x_2, 0);
lean_inc_ref(x_4);
lean_dec_ref(x_2);
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
x_6 = lean_ctor_get(x_3, 1);
lean_inc(x_6);
lean_dec_ref(x_3);
x_7 = lean_ctor_get(x_4, 0);
lean_inc(x_7);
x_8 = lean_ctor_get(x_4, 1);
lean_inc(x_8);
lean_dec_ref(x_4);
x_9 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__0;
x_10 = lean_string_append(x_1, x_9);
x_11 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__0;
x_12 = lean_string_append(x_10, x_11);
x_13 = l_Nat_reprFast(x_6);
x_14 = lean_string_append(x_12, x_13);
lean_dec_ref(x_13);
x_15 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__1;
x_16 = lean_string_append(x_14, x_15);
x_17 = l_Nat_reprFast(x_5);
x_18 = lean_string_append(x_16, x_17);
lean_dec_ref(x_17);
x_19 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0;
x_20 = lean_string_append(x_18, x_19);
x_21 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__1;
x_22 = lean_string_append(x_20, x_21);
x_23 = lean_string_append(x_22, x_11);
x_24 = l_Nat_reprFast(x_8);
x_25 = lean_string_append(x_23, x_24);
lean_dec_ref(x_24);
x_26 = lean_string_append(x_25, x_15);
x_27 = l_Nat_reprFast(x_7);
x_28 = lean_string_append(x_26, x_27);
lean_dec_ref(x_27);
x_29 = lean_string_append(x_28, x_19);
x_30 = lean_string_append(x_29, x_19);
return x_30;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("{\"insert\":", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(",\"newText\":\"", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(",\"replace\":", 11, 11);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; 
x_3 = lean_ctor_get(x_2, 1);
x_4 = lean_ctor_get(x_3, 1);
lean_inc_ref(x_4);
x_5 = lean_ctor_get(x_3, 0);
lean_inc_ref(x_5);
x_6 = lean_ctor_get(x_2, 2);
x_7 = lean_ctor_get(x_6, 1);
lean_inc_ref(x_7);
x_8 = lean_ctor_get(x_6, 0);
lean_inc_ref(x_8);
x_9 = lean_ctor_get(x_2, 0);
lean_inc_ref(x_9);
lean_dec_ref(x_2);
x_10 = lean_ctor_get(x_4, 0);
lean_inc(x_10);
x_11 = lean_ctor_get(x_4, 1);
lean_inc(x_11);
lean_dec_ref(x_4);
x_12 = lean_ctor_get(x_5, 0);
lean_inc(x_12);
x_13 = lean_ctor_get(x_5, 1);
lean_inc(x_13);
lean_dec_ref(x_5);
x_14 = lean_ctor_get(x_7, 0);
lean_inc(x_14);
x_15 = lean_ctor_get(x_7, 1);
lean_inc(x_15);
lean_dec_ref(x_7);
x_16 = lean_ctor_get(x_8, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_8, 1);
lean_inc(x_17);
lean_dec_ref(x_8);
x_18 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__0;
x_19 = lean_string_append(x_1, x_18);
x_20 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__0;
x_21 = lean_string_append(x_19, x_20);
x_22 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__0;
x_23 = lean_string_append(x_21, x_22);
x_24 = l_Nat_reprFast(x_11);
x_25 = lean_string_append(x_23, x_24);
lean_dec_ref(x_24);
x_26 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__1;
x_27 = lean_string_append(x_25, x_26);
x_28 = l_Nat_reprFast(x_10);
x_29 = lean_string_append(x_27, x_28);
lean_dec_ref(x_28);
x_30 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0;
x_31 = lean_string_append(x_29, x_30);
x_32 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__1;
x_33 = lean_string_append(x_31, x_32);
x_34 = lean_string_append(x_33, x_22);
x_35 = l_Nat_reprFast(x_13);
x_36 = lean_string_append(x_34, x_35);
lean_dec_ref(x_35);
x_37 = lean_string_append(x_36, x_26);
x_38 = l_Nat_reprFast(x_12);
x_39 = lean_string_append(x_37, x_38);
lean_dec_ref(x_38);
x_40 = lean_string_append(x_39, x_30);
x_41 = lean_string_append(x_40, x_30);
x_42 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__1;
x_43 = lean_string_append(x_41, x_42);
x_44 = lean_string_append(x_43, x_9);
lean_dec_ref(x_9);
x_45 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_46 = lean_string_append(x_44, x_45);
x_47 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__2;
x_48 = lean_string_append(x_46, x_47);
x_49 = lean_string_append(x_48, x_20);
x_50 = lean_string_append(x_49, x_22);
x_51 = l_Nat_reprFast(x_15);
x_52 = lean_string_append(x_50, x_51);
lean_dec_ref(x_51);
x_53 = lean_string_append(x_52, x_26);
x_54 = l_Nat_reprFast(x_14);
x_55 = lean_string_append(x_53, x_54);
lean_dec_ref(x_54);
x_56 = lean_string_append(x_55, x_30);
x_57 = lean_string_append(x_56, x_32);
x_58 = lean_string_append(x_57, x_22);
x_59 = l_Nat_reprFast(x_17);
x_60 = lean_string_append(x_58, x_59);
lean_dec_ref(x_59);
x_61 = lean_string_append(x_60, x_26);
x_62 = l_Nat_reprFast(x_16);
x_63 = lean_string_append(x_61, x_62);
lean_dec_ref(x_62);
x_64 = lean_string_append(x_63, x_30);
x_65 = lean_string_append(x_64, x_30);
x_66 = lean_string_append(x_65, x_30);
return x_66;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = l_Nat_reprFast(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_array_get_size(x_2);
x_5 = lean_nat_dec_lt(x_3, x_4);
if (x_5 == 0)
{
lean_dec(x_4);
lean_dec(x_3);
return x_1;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; 
x_6 = lean_unsigned_to_nat(1u);
x_11 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast___closed__0;
x_12 = lean_string_append(x_1, x_11);
x_13 = lean_nat_sub(x_4, x_6);
lean_dec(x_4);
x_14 = lean_nat_dec_lt(x_3, x_13);
lean_dec(x_13);
if (x_14 == 0)
{
x_7 = x_12;
goto block_10;
}
else
{
lean_object* x_15; lean_object* x_16; 
x_15 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__15;
x_16 = lean_string_append(x_12, x_15);
x_7 = x_16;
goto block_10;
}
block_10:
{
lean_object* x_8; 
x_8 = lean_nat_add(x_3, x_6);
lean_dec(x_3);
x_1 = x_7;
x_3 = x_8;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast(x_1, x_2, x_3);
lean_dec_ref(x_2);
return x_4;
}
}
LEAN_EXPORT uint32_t l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___lam__18(lean_object* x_1, lean_object* x_2) {
_start:
{
uint32_t x_3; 
x_3 = lean_string_utf8_get_fast(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT uint32_t l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___lam__8(lean_object* x_1, lean_object* x_2) {
_start:
{
uint32_t x_3; 
x_3 = lean_string_utf8_get_fast(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(",\"tags\":[", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(",\"data\":", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(",\"sortText\":", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(",\"textEdit\":", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(",\"kind\":", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(",\"documentation\":", 17, 17);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(",\"detail\":", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("{\"label\":", 9, 9);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___lam__18___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint32_t x_3; lean_object* x_4; 
x_3 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___lam__18(x_1, x_2);
lean_dec(x_2);
lean_dec_ref(x_1);
x_4 = lean_box_uint32(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___lam__8___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint32_t x_3; lean_object* x_4; 
x_3 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___lam__8(x_1, x_2);
lean_dec(x_2);
lean_dec_ref(x_1);
x_4 = lean_box_uint32(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_7; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_32; lean_object* x_36; lean_object* x_40; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_105; lean_object* x_134; lean_object* x_155; lean_object* x_224; lean_object* x_235; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_264; lean_object* x_273; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; 
x_11 = lean_ctor_get(x_2, 0);
lean_inc_ref(x_11);
x_12 = lean_ctor_get(x_2, 1);
lean_inc(x_12);
x_13 = lean_ctor_get(x_2, 2);
lean_inc(x_13);
x_14 = lean_ctor_get(x_2, 3);
lean_inc(x_14);
x_15 = lean_ctor_get(x_2, 4);
lean_inc(x_15);
x_16 = lean_ctor_get(x_2, 5);
lean_inc(x_16);
x_17 = lean_ctor_get(x_2, 6);
lean_inc(x_17);
x_18 = lean_ctor_get(x_2, 7);
lean_inc(x_18);
lean_dec_ref(x_2);
x_44 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__1;
x_45 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__2;
x_46 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__3;
x_294 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__7;
x_295 = lean_string_append(x_1, x_294);
x_296 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_297 = lean_string_append(x_295, x_296);
x_298 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_11);
if (x_298 == 0)
{
lean_object* x_299; lean_object* x_300; 
x_299 = lean_string_append(x_297, x_11);
lean_dec_ref(x_11);
x_300 = lean_string_append(x_299, x_296);
x_273 = x_300;
goto block_293;
}
else
{
lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; 
lean_inc_ref(x_11);
x_301 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___lam__8___boxed), 2, 1);
lean_closure_set(x_301, 0, x_11);
x_302 = lean_unsigned_to_nat(0u);
x_303 = lean_string_utf8_byte_size(x_11);
x_304 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_304, 0, x_11);
lean_ctor_set(x_304, 1, x_302);
lean_ctor_set(x_304, 2, x_303);
x_305 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6;
x_306 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13;
lean_inc_ref(x_304);
x_307 = l_String_Slice_PosIterator_instIteratorSubtypePosNeEndPosOfPure___redArg(x_304, x_305);
x_308 = l_String_Slice_positions(x_304);
lean_dec_ref(x_304);
x_309 = l_Std_Iterators_instIteratorMap___redArg(x_306, x_307, x_46, x_301);
x_310 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_309, x_306, x_45, x_308, x_297, x_44);
x_311 = lean_string_append(x_310, x_296);
x_273 = x_311;
goto block_293;
}
block_6:
{
lean_object* x_4; lean_object* x_5; 
x_4 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0;
x_5 = lean_string_append(x_3, x_4);
return x_5;
}
block_10:
{
lean_object* x_8; lean_object* x_9; 
x_8 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__0;
x_9 = lean_string_append(x_7, x_8);
x_3 = x_9;
goto block_6;
}
block_31:
{
if (lean_obj_tag(x_18) == 1)
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; 
x_20 = lean_ctor_get(x_18, 0);
lean_inc(x_20);
lean_dec_ref(x_18);
x_21 = lean_unsigned_to_nat(0u);
x_22 = lean_array_get_size(x_20);
x_23 = lean_nat_dec_lt(x_21, x_22);
if (x_23 == 0)
{
lean_dec(x_22);
lean_dec(x_20);
x_3 = x_19;
goto block_6;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; 
x_24 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__0;
x_25 = lean_string_append(x_19, x_24);
x_26 = lean_unsigned_to_nat(1u);
x_27 = lean_nat_dec_eq(x_22, x_26);
lean_dec(x_22);
if (x_27 == 0)
{
lean_object* x_28; 
x_28 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast(x_25, x_20, x_21);
lean_dec(x_20);
x_7 = x_28;
goto block_10;
}
else
{
lean_object* x_29; lean_object* x_30; 
lean_dec(x_20);
x_29 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast___closed__0;
x_30 = lean_string_append(x_25, x_29);
x_7 = x_30;
goto block_10;
}
}
}
else
{
lean_dec(x_18);
x_3 = x_19;
goto block_6;
}
}
block_35:
{
lean_object* x_33; lean_object* x_34; 
x_33 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__0;
x_34 = lean_string_append(x_32, x_33);
x_19 = x_34;
goto block_31;
}
block_39:
{
lean_object* x_37; lean_object* x_38; 
x_37 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_38 = lean_string_append(x_36, x_37);
x_32 = x_38;
goto block_35;
}
block_43:
{
lean_object* x_41; lean_object* x_42; 
x_41 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_42 = lean_string_append(x_40, x_41);
x_32 = x_42;
goto block_35;
}
block_85:
{
if (lean_obj_tag(x_48) == 1)
{
lean_object* x_51; lean_object* x_52; 
x_51 = lean_ctor_get(x_48, 0);
lean_inc(x_51);
lean_dec_ref(x_48);
x_52 = lean_string_append(x_50, x_49);
lean_dec_ref(x_49);
if (lean_obj_tag(x_51) == 0)
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; 
x_53 = lean_ctor_get(x_51, 0);
lean_inc(x_53);
lean_dec_ref(x_51);
x_54 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__3;
x_55 = lean_string_append(x_52, x_54);
x_56 = l_Lean_Name_toString(x_53, x_47);
x_57 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_56);
if (x_57 == 0)
{
lean_object* x_58; 
x_58 = lean_string_append(x_55, x_56);
lean_dec_ref(x_56);
x_36 = x_58;
goto block_39;
}
else
{
lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; 
lean_inc_ref(x_56);
x_59 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__6___boxed), 2, 1);
lean_closure_set(x_59, 0, x_56);
x_60 = lean_unsigned_to_nat(0u);
x_61 = lean_string_utf8_byte_size(x_56);
x_62 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_62, 0, x_56);
lean_ctor_set(x_62, 1, x_60);
lean_ctor_set(x_62, 2, x_61);
x_63 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6;
x_64 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13;
lean_inc_ref(x_62);
x_65 = l_String_Slice_PosIterator_instIteratorSubtypePosNeEndPosOfPure___redArg(x_62, x_63);
x_66 = l_String_Slice_positions(x_62);
lean_dec_ref(x_62);
x_67 = l_Std_Iterators_instIteratorMap___redArg(x_64, x_65, x_46, x_59);
x_68 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_67, x_64, x_45, x_66, x_55, x_44);
x_36 = x_68;
goto block_39;
}
}
else
{
lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; 
x_69 = lean_ctor_get(x_51, 0);
lean_inc(x_69);
lean_dec_ref(x_51);
x_70 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__14;
x_71 = lean_string_append(x_52, x_70);
x_72 = l_Lean_Name_toString(x_69, x_47);
x_73 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_72);
if (x_73 == 0)
{
lean_object* x_74; 
x_74 = lean_string_append(x_71, x_72);
lean_dec_ref(x_72);
x_40 = x_74;
goto block_43;
}
else
{
lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; 
lean_inc_ref(x_72);
x_75 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__6___boxed), 2, 1);
lean_closure_set(x_75, 0, x_72);
x_76 = lean_unsigned_to_nat(0u);
x_77 = lean_string_utf8_byte_size(x_72);
x_78 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_78, 0, x_72);
lean_ctor_set(x_78, 1, x_76);
lean_ctor_set(x_78, 2, x_77);
x_79 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6;
x_80 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13;
lean_inc_ref(x_78);
x_81 = l_String_Slice_PosIterator_instIteratorSubtypePosNeEndPosOfPure___redArg(x_78, x_79);
x_82 = l_String_Slice_positions(x_78);
lean_dec_ref(x_78);
x_83 = l_Std_Iterators_instIteratorMap___redArg(x_80, x_81, x_46, x_75);
x_84 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_83, x_80, x_45, x_82, x_71, x_44);
x_40 = x_84;
goto block_43;
}
}
}
else
{
lean_dec_ref(x_49);
lean_dec(x_48);
x_32 = x_50;
goto block_35;
}
}
block_104:
{
lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; 
x_91 = lean_ctor_get(x_88, 0);
lean_inc(x_91);
x_92 = lean_ctor_get(x_88, 1);
lean_inc(x_92);
lean_dec_ref(x_88);
x_93 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__15;
x_94 = lean_string_append(x_90, x_93);
x_95 = l_Nat_reprFast(x_91);
x_96 = lean_string_append(x_94, x_95);
lean_dec_ref(x_95);
x_97 = lean_string_append(x_96, x_93);
x_98 = l_Nat_reprFast(x_92);
x_99 = lean_string_append(x_97, x_98);
lean_dec_ref(x_98);
if (lean_obj_tag(x_89) == 1)
{
lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; 
x_100 = lean_ctor_get(x_89, 0);
lean_inc(x_100);
lean_dec_ref(x_89);
x_101 = lean_string_append(x_99, x_93);
x_102 = l_Nat_reprFast(x_100);
x_103 = lean_string_append(x_101, x_102);
lean_dec_ref(x_102);
x_47 = x_87;
x_48 = x_86;
x_49 = x_93;
x_50 = x_103;
goto block_85;
}
else
{
lean_dec(x_89);
x_47 = x_87;
x_48 = x_86;
x_49 = x_93;
x_50 = x_99;
goto block_85;
}
}
block_133:
{
if (lean_obj_tag(x_17) == 1)
{
lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; 
x_106 = lean_ctor_get(x_17, 0);
lean_inc(x_106);
lean_dec_ref(x_17);
x_107 = lean_ctor_get(x_106, 0);
lean_inc(x_107);
x_108 = lean_ctor_get(x_106, 1);
lean_inc_ref(x_108);
x_109 = lean_ctor_get(x_106, 2);
lean_inc(x_109);
x_110 = lean_ctor_get(x_106, 3);
lean_inc(x_110);
lean_dec(x_106);
x_111 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__1;
x_112 = lean_string_append(x_105, x_111);
x_113 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__2;
x_114 = lean_string_append(x_112, x_113);
x_115 = 1;
x_116 = l_Lean_Name_toString(x_107, x_115);
x_117 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_118 = lean_string_append(x_114, x_117);
x_119 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_116);
if (x_119 == 0)
{
lean_object* x_120; lean_object* x_121; 
x_120 = lean_string_append(x_118, x_116);
lean_dec_ref(x_116);
x_121 = lean_string_append(x_120, x_117);
x_86 = x_110;
x_87 = x_115;
x_88 = x_108;
x_89 = x_109;
x_90 = x_121;
goto block_104;
}
else
{
lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; 
lean_inc_ref(x_116);
x_122 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___lam__6___boxed), 2, 1);
lean_closure_set(x_122, 0, x_116);
x_123 = lean_unsigned_to_nat(0u);
x_124 = lean_string_utf8_byte_size(x_116);
x_125 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_125, 0, x_116);
lean_ctor_set(x_125, 1, x_123);
lean_ctor_set(x_125, 2, x_124);
x_126 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6;
x_127 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13;
lean_inc_ref(x_125);
x_128 = l_String_Slice_PosIterator_instIteratorSubtypePosNeEndPosOfPure___redArg(x_125, x_126);
x_129 = l_String_Slice_positions(x_125);
lean_dec_ref(x_125);
x_130 = l_Std_Iterators_instIteratorMap___redArg(x_127, x_128, x_46, x_122);
x_131 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_130, x_127, x_45, x_129, x_118, x_44);
x_132 = lean_string_append(x_131, x_117);
x_86 = x_110;
x_87 = x_115;
x_88 = x_108;
x_89 = x_109;
x_90 = x_132;
goto block_104;
}
}
else
{
lean_dec(x_17);
x_19 = x_105;
goto block_31;
}
}
block_154:
{
if (lean_obj_tag(x_16) == 1)
{
lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; 
x_135 = lean_ctor_get(x_16, 0);
lean_inc(x_135);
lean_dec_ref(x_16);
x_136 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__2;
x_137 = lean_string_append(x_134, x_136);
x_138 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_139 = lean_string_append(x_137, x_138);
x_140 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_135);
if (x_140 == 0)
{
lean_object* x_141; lean_object* x_142; 
x_141 = lean_string_append(x_139, x_135);
lean_dec(x_135);
x_142 = lean_string_append(x_141, x_138);
x_105 = x_142;
goto block_133;
}
else
{
lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; 
lean_inc(x_135);
x_143 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___lam__18___boxed), 2, 1);
lean_closure_set(x_143, 0, x_135);
x_144 = lean_unsigned_to_nat(0u);
x_145 = lean_string_utf8_byte_size(x_135);
x_146 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_146, 0, x_135);
lean_ctor_set(x_146, 1, x_144);
lean_ctor_set(x_146, 2, x_145);
x_147 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6;
x_148 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13;
lean_inc_ref(x_146);
x_149 = l_String_Slice_PosIterator_instIteratorSubtypePosNeEndPosOfPure___redArg(x_146, x_147);
x_150 = l_String_Slice_positions(x_146);
lean_dec_ref(x_146);
x_151 = l_Std_Iterators_instIteratorMap___redArg(x_148, x_149, x_46, x_143);
x_152 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_151, x_148, x_45, x_150, x_139, x_44);
x_153 = lean_string_append(x_152, x_138);
x_105 = x_153;
goto block_133;
}
}
else
{
lean_dec(x_16);
x_105 = x_134;
goto block_133;
}
}
block_223:
{
if (lean_obj_tag(x_15) == 1)
{
lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; 
x_156 = lean_ctor_get(x_15, 0);
lean_inc(x_156);
lean_dec_ref(x_15);
x_157 = lean_ctor_get(x_156, 1);
x_158 = lean_ctor_get(x_157, 1);
lean_inc_ref(x_158);
x_159 = lean_ctor_get(x_157, 0);
lean_inc_ref(x_159);
x_160 = lean_ctor_get(x_156, 2);
x_161 = lean_ctor_get(x_160, 1);
lean_inc_ref(x_161);
x_162 = lean_ctor_get(x_160, 0);
lean_inc_ref(x_162);
x_163 = lean_ctor_get(x_156, 0);
lean_inc_ref(x_163);
lean_dec(x_156);
x_164 = lean_ctor_get(x_158, 0);
lean_inc(x_164);
x_165 = lean_ctor_get(x_158, 1);
lean_inc(x_165);
lean_dec_ref(x_158);
x_166 = lean_ctor_get(x_159, 0);
lean_inc(x_166);
x_167 = lean_ctor_get(x_159, 1);
lean_inc(x_167);
lean_dec_ref(x_159);
x_168 = lean_ctor_get(x_161, 0);
lean_inc(x_168);
x_169 = lean_ctor_get(x_161, 1);
lean_inc(x_169);
lean_dec_ref(x_161);
x_170 = lean_ctor_get(x_162, 0);
lean_inc(x_170);
x_171 = lean_ctor_get(x_162, 1);
lean_inc(x_171);
lean_dec_ref(x_162);
x_172 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__3;
x_173 = lean_string_append(x_155, x_172);
x_174 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__0;
x_175 = lean_string_append(x_173, x_174);
x_176 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__0;
x_177 = lean_string_append(x_175, x_176);
x_178 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__0;
x_179 = lean_string_append(x_177, x_178);
x_180 = l_Nat_reprFast(x_165);
x_181 = lean_string_append(x_179, x_180);
lean_dec_ref(x_180);
x_182 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__1;
x_183 = lean_string_append(x_181, x_182);
x_184 = l_Nat_reprFast(x_164);
x_185 = lean_string_append(x_183, x_184);
lean_dec_ref(x_184);
x_186 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0;
x_187 = lean_string_append(x_185, x_186);
x_188 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__1;
x_189 = lean_string_append(x_187, x_188);
x_190 = lean_string_append(x_189, x_178);
x_191 = l_Nat_reprFast(x_167);
x_192 = lean_string_append(x_190, x_191);
lean_dec_ref(x_191);
x_193 = lean_string_append(x_192, x_182);
x_194 = l_Nat_reprFast(x_166);
x_195 = lean_string_append(x_193, x_194);
lean_dec_ref(x_194);
x_196 = lean_string_append(x_195, x_186);
x_197 = lean_string_append(x_196, x_186);
x_198 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__1;
x_199 = lean_string_append(x_197, x_198);
x_200 = lean_string_append(x_199, x_163);
lean_dec_ref(x_163);
x_201 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_202 = lean_string_append(x_200, x_201);
x_203 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__2;
x_204 = lean_string_append(x_202, x_203);
x_205 = lean_string_append(x_204, x_176);
x_206 = lean_string_append(x_205, x_178);
x_207 = l_Nat_reprFast(x_169);
x_208 = lean_string_append(x_206, x_207);
lean_dec_ref(x_207);
x_209 = lean_string_append(x_208, x_182);
x_210 = l_Nat_reprFast(x_168);
x_211 = lean_string_append(x_209, x_210);
lean_dec_ref(x_210);
x_212 = lean_string_append(x_211, x_186);
x_213 = lean_string_append(x_212, x_188);
x_214 = lean_string_append(x_213, x_178);
x_215 = l_Nat_reprFast(x_171);
x_216 = lean_string_append(x_214, x_215);
lean_dec_ref(x_215);
x_217 = lean_string_append(x_216, x_182);
x_218 = l_Nat_reprFast(x_170);
x_219 = lean_string_append(x_217, x_218);
lean_dec_ref(x_218);
x_220 = lean_string_append(x_219, x_186);
x_221 = lean_string_append(x_220, x_186);
x_222 = lean_string_append(x_221, x_186);
x_134 = x_222;
goto block_154;
}
else
{
lean_dec(x_15);
x_134 = x_155;
goto block_154;
}
}
block_234:
{
if (lean_obj_tag(x_14) == 1)
{
lean_object* x_225; lean_object* x_226; lean_object* x_227; uint8_t x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; 
x_225 = lean_ctor_get(x_14, 0);
lean_inc(x_225);
lean_dec_ref(x_14);
x_226 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__4;
x_227 = lean_string_append(x_224, x_226);
x_228 = lean_unbox(x_225);
lean_dec(x_225);
x_229 = l_Lean_Lsp_CompletionItemKind_ctorIdx(x_228);
x_230 = lean_unsigned_to_nat(1u);
x_231 = lean_nat_add(x_229, x_230);
lean_dec(x_229);
x_232 = l_Nat_reprFast(x_231);
x_233 = lean_string_append(x_227, x_232);
lean_dec_ref(x_232);
x_155 = x_233;
goto block_223;
}
else
{
lean_dec(x_14);
x_155 = x_224;
goto block_223;
}
}
block_238:
{
lean_object* x_236; lean_object* x_237; 
x_236 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0;
x_237 = lean_string_append(x_235, x_236);
x_224 = x_237;
goto block_234;
}
block_263:
{
lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; 
x_242 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__4;
x_243 = lean_string_append(x_240, x_242);
x_244 = lean_string_append(x_243, x_241);
lean_dec_ref(x_241);
x_245 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__5;
x_246 = lean_string_append(x_244, x_245);
x_247 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_248 = lean_string_append(x_246, x_247);
x_249 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_239);
if (x_249 == 0)
{
lean_object* x_250; lean_object* x_251; 
x_250 = lean_string_append(x_248, x_239);
lean_dec_ref(x_239);
x_251 = lean_string_append(x_250, x_247);
x_235 = x_251;
goto block_238;
}
else
{
lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; 
lean_inc_ref(x_239);
x_252 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___lam__3___boxed), 2, 1);
lean_closure_set(x_252, 0, x_239);
x_253 = lean_unsigned_to_nat(0u);
x_254 = lean_string_utf8_byte_size(x_239);
x_255 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_255, 0, x_239);
lean_ctor_set(x_255, 1, x_253);
lean_ctor_set(x_255, 2, x_254);
x_256 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6;
x_257 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13;
lean_inc_ref(x_255);
x_258 = l_String_Slice_PosIterator_instIteratorSubtypePosNeEndPosOfPure___redArg(x_255, x_256);
x_259 = l_String_Slice_positions(x_255);
lean_dec_ref(x_255);
x_260 = l_Std_Iterators_instIteratorMap___redArg(x_257, x_258, x_46, x_252);
x_261 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_260, x_257, x_45, x_259, x_248, x_44);
x_262 = lean_string_append(x_261, x_247);
x_235 = x_262;
goto block_238;
}
}
block_272:
{
if (lean_obj_tag(x_13) == 1)
{
lean_object* x_265; uint8_t x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; 
x_265 = lean_ctor_get(x_13, 0);
lean_inc(x_265);
lean_dec_ref(x_13);
x_266 = lean_ctor_get_uint8(x_265, sizeof(void*)*1);
x_267 = lean_ctor_get(x_265, 0);
lean_inc_ref(x_267);
lean_dec(x_265);
x_268 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__5;
x_269 = lean_string_append(x_264, x_268);
if (x_266 == 0)
{
lean_object* x_270; 
x_270 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__6;
x_239 = x_267;
x_240 = x_269;
x_241 = x_270;
goto block_263;
}
else
{
lean_object* x_271; 
x_271 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__7;
x_239 = x_267;
x_240 = x_269;
x_241 = x_271;
goto block_263;
}
}
else
{
lean_dec(x_13);
x_224 = x_264;
goto block_234;
}
}
block_293:
{
if (lean_obj_tag(x_12) == 1)
{
lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; uint8_t x_279; 
x_274 = lean_ctor_get(x_12, 0);
lean_inc(x_274);
lean_dec_ref(x_12);
x_275 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__6;
x_276 = lean_string_append(x_273, x_275);
x_277 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_278 = lean_string_append(x_276, x_277);
x_279 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_274);
if (x_279 == 0)
{
lean_object* x_280; lean_object* x_281; 
x_280 = lean_string_append(x_278, x_274);
lean_dec(x_274);
x_281 = lean_string_append(x_280, x_277);
x_264 = x_281;
goto block_272;
}
else
{
lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; 
lean_inc(x_274);
x_282 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___lam__18___boxed), 2, 1);
lean_closure_set(x_282, 0, x_274);
x_283 = lean_unsigned_to_nat(0u);
x_284 = lean_string_utf8_byte_size(x_274);
x_285 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_285, 0, x_274);
lean_ctor_set(x_285, 1, x_283);
lean_ctor_set(x_285, 2, x_284);
x_286 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6;
x_287 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13;
lean_inc_ref(x_285);
x_288 = l_String_Slice_PosIterator_instIteratorSubtypePosNeEndPosOfPure___redArg(x_285, x_286);
x_289 = l_String_Slice_positions(x_285);
lean_dec_ref(x_285);
x_290 = l_Std_Iterators_instIteratorMap___redArg(x_287, x_288, x_46, x_282);
x_291 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_290, x_287, x_45, x_289, x_278, x_44);
x_292 = lean_string_append(x_291, x_277);
x_264 = x_292;
goto block_272;
}
}
else
{
lean_dec(x_12);
x_264 = x_273;
goto block_272;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_5 = lean_ctor_get(x_1, 0);
x_6 = lean_ctor_get(x_1, 1);
x_7 = lean_ctor_get(x_1, 2);
x_8 = lean_nat_sub(x_7, x_6);
x_9 = lean_nat_dec_eq(x_3, x_8);
lean_dec(x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; uint32_t x_13; lean_object* x_14; 
x_10 = lean_nat_add(x_6, x_3);
x_11 = lean_string_utf8_next_fast(x_5, x_10);
lean_dec(x_10);
x_12 = lean_nat_sub(x_11, x_6);
lean_dec(x_11);
x_13 = lean_string_utf8_get_fast(x_2, x_3);
lean_dec(x_3);
x_14 = l___private_Lean_Data_Json_Printer_0__Lean_Json_escapeAux(x_4, x_13);
x_3 = x_12;
x_4 = x_14;
goto _start;
}
else
{
lean_dec(x_3);
return x_4;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___redArg(x_1, x_2, x_5, x_6);
return x_9;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_9; lean_object* x_10; lean_object* x_19; uint8_t x_23; 
x_9 = lean_array_get_size(x_2);
x_23 = lean_nat_dec_lt(x_3, x_9);
if (x_23 == 0)
{
lean_dec(x_9);
lean_dec(x_3);
return x_1;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_39; lean_object* x_43; lean_object* x_47; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_97; lean_object* x_121; lean_object* x_138; lean_object* x_208; lean_object* x_220; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_244; lean_object* x_254; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; uint8_t x_276; 
x_24 = lean_array_fget_borrowed(x_2, x_3);
x_271 = lean_ctor_get(x_24, 0);
x_272 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__7;
x_273 = lean_string_append(x_1, x_272);
x_274 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_275 = lean_string_append(x_273, x_274);
x_276 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_271);
if (x_276 == 0)
{
lean_object* x_277; lean_object* x_278; 
x_277 = lean_string_append(x_275, x_271);
x_278 = lean_string_append(x_277, x_274);
x_254 = x_278;
goto block_270;
}
else
{
lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; 
x_279 = lean_unsigned_to_nat(0u);
x_280 = lean_string_utf8_byte_size(x_271);
lean_inc_ref(x_271);
x_281 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_281, 0, x_271);
lean_ctor_set(x_281, 1, x_279);
lean_ctor_set(x_281, 2, x_280);
x_282 = l_String_Slice_positions(x_281);
x_283 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___redArg(x_281, x_271, x_282, x_275);
lean_dec_ref(x_281);
x_284 = lean_string_append(x_283, x_274);
x_254 = x_284;
goto block_270;
}
block_38:
{
lean_object* x_26; 
x_26 = lean_ctor_get(x_24, 7);
if (lean_obj_tag(x_26) == 1)
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; 
x_27 = lean_ctor_get(x_26, 0);
x_28 = lean_unsigned_to_nat(0u);
x_29 = lean_array_get_size(x_27);
x_30 = lean_nat_dec_lt(x_28, x_29);
if (x_30 == 0)
{
lean_dec(x_29);
x_10 = x_25;
goto block_18;
}
else
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; 
x_31 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__0;
x_32 = lean_string_append(x_25, x_31);
x_33 = lean_unsigned_to_nat(1u);
x_34 = lean_nat_dec_eq(x_29, x_33);
lean_dec(x_29);
if (x_34 == 0)
{
lean_object* x_35; 
x_35 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast(x_32, x_27, x_28);
x_19 = x_35;
goto block_22;
}
else
{
lean_object* x_36; lean_object* x_37; 
x_36 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast___closed__0;
x_37 = lean_string_append(x_32, x_36);
x_19 = x_37;
goto block_22;
}
}
}
else
{
x_10 = x_25;
goto block_18;
}
}
block_42:
{
lean_object* x_40; lean_object* x_41; 
x_40 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__0;
x_41 = lean_string_append(x_39, x_40);
x_25 = x_41;
goto block_38;
}
block_46:
{
lean_object* x_44; lean_object* x_45; 
x_44 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_45 = lean_string_append(x_43, x_44);
x_39 = x_45;
goto block_42;
}
block_50:
{
lean_object* x_48; lean_object* x_49; 
x_48 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_49 = lean_string_append(x_47, x_48);
x_39 = x_49;
goto block_42;
}
block_78:
{
if (lean_obj_tag(x_51) == 1)
{
lean_object* x_54; lean_object* x_55; 
x_54 = lean_ctor_get(x_51, 0);
lean_inc(x_54);
lean_dec_ref(x_51);
x_55 = lean_string_append(x_53, x_52);
lean_dec_ref(x_52);
if (lean_obj_tag(x_54) == 0)
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; 
x_56 = lean_ctor_get(x_54, 0);
lean_inc(x_56);
lean_dec_ref(x_54);
x_57 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__3;
x_58 = lean_string_append(x_55, x_57);
x_59 = l_Lean_Name_toString(x_56, x_23);
x_60 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_59);
if (x_60 == 0)
{
lean_object* x_61; 
x_61 = lean_string_append(x_58, x_59);
lean_dec_ref(x_59);
x_47 = x_61;
goto block_50;
}
else
{
lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; 
x_62 = lean_unsigned_to_nat(0u);
x_63 = lean_string_utf8_byte_size(x_59);
lean_inc_ref(x_59);
x_64 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_64, 0, x_59);
lean_ctor_set(x_64, 1, x_62);
lean_ctor_set(x_64, 2, x_63);
x_65 = l_String_Slice_positions(x_64);
x_66 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___redArg(x_64, x_59, x_65, x_58);
lean_dec_ref(x_59);
lean_dec_ref(x_64);
x_47 = x_66;
goto block_50;
}
}
else
{
lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; 
x_67 = lean_ctor_get(x_54, 0);
lean_inc(x_67);
lean_dec_ref(x_54);
x_68 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__14;
x_69 = lean_string_append(x_55, x_68);
x_70 = l_Lean_Name_toString(x_67, x_23);
x_71 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_70);
if (x_71 == 0)
{
lean_object* x_72; 
x_72 = lean_string_append(x_69, x_70);
lean_dec_ref(x_70);
x_43 = x_72;
goto block_46;
}
else
{
lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; 
x_73 = lean_unsigned_to_nat(0u);
x_74 = lean_string_utf8_byte_size(x_70);
lean_inc_ref(x_70);
x_75 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_75, 0, x_70);
lean_ctor_set(x_75, 1, x_73);
lean_ctor_set(x_75, 2, x_74);
x_76 = l_String_Slice_positions(x_75);
x_77 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___redArg(x_75, x_70, x_76, x_69);
lean_dec_ref(x_70);
lean_dec_ref(x_75);
x_43 = x_77;
goto block_46;
}
}
}
else
{
lean_dec_ref(x_52);
lean_dec(x_51);
x_39 = x_53;
goto block_42;
}
}
block_96:
{
lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; 
x_83 = lean_ctor_get(x_80, 0);
lean_inc(x_83);
x_84 = lean_ctor_get(x_80, 1);
lean_inc(x_84);
lean_dec_ref(x_80);
x_85 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__15;
x_86 = lean_string_append(x_82, x_85);
x_87 = l_Nat_reprFast(x_83);
x_88 = lean_string_append(x_86, x_87);
lean_dec_ref(x_87);
x_89 = lean_string_append(x_88, x_85);
x_90 = l_Nat_reprFast(x_84);
x_91 = lean_string_append(x_89, x_90);
lean_dec_ref(x_90);
if (lean_obj_tag(x_81) == 1)
{
lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; 
x_92 = lean_ctor_get(x_81, 0);
lean_inc(x_92);
lean_dec_ref(x_81);
x_93 = lean_string_append(x_91, x_85);
x_94 = l_Nat_reprFast(x_92);
x_95 = lean_string_append(x_93, x_94);
lean_dec_ref(x_94);
x_51 = x_79;
x_52 = x_85;
x_53 = x_95;
goto block_78;
}
else
{
lean_dec(x_81);
x_51 = x_79;
x_52 = x_85;
x_53 = x_91;
goto block_78;
}
}
block_120:
{
lean_object* x_98; 
x_98 = lean_ctor_get(x_24, 6);
if (lean_obj_tag(x_98) == 1)
{
lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; 
x_99 = lean_ctor_get(x_98, 0);
x_100 = lean_ctor_get(x_99, 0);
x_101 = lean_ctor_get(x_99, 1);
x_102 = lean_ctor_get(x_99, 2);
x_103 = lean_ctor_get(x_99, 3);
x_104 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__1;
x_105 = lean_string_append(x_97, x_104);
x_106 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__2;
x_107 = lean_string_append(x_105, x_106);
lean_inc(x_100);
x_108 = l_Lean_Name_toString(x_100, x_23);
x_109 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_110 = lean_string_append(x_107, x_109);
x_111 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_108);
if (x_111 == 0)
{
lean_object* x_112; lean_object* x_113; 
x_112 = lean_string_append(x_110, x_108);
lean_dec_ref(x_108);
x_113 = lean_string_append(x_112, x_109);
lean_inc(x_102);
lean_inc_ref(x_101);
lean_inc(x_103);
x_79 = x_103;
x_80 = x_101;
x_81 = x_102;
x_82 = x_113;
goto block_96;
}
else
{
lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; 
x_114 = lean_unsigned_to_nat(0u);
x_115 = lean_string_utf8_byte_size(x_108);
lean_inc_ref(x_108);
x_116 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_116, 0, x_108);
lean_ctor_set(x_116, 1, x_114);
lean_ctor_set(x_116, 2, x_115);
x_117 = l_String_Slice_positions(x_116);
x_118 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___redArg(x_116, x_108, x_117, x_110);
lean_dec_ref(x_108);
lean_dec_ref(x_116);
x_119 = lean_string_append(x_118, x_109);
lean_inc(x_102);
lean_inc_ref(x_101);
lean_inc(x_103);
x_79 = x_103;
x_80 = x_101;
x_81 = x_102;
x_82 = x_119;
goto block_96;
}
}
else
{
x_25 = x_97;
goto block_38;
}
}
block_137:
{
lean_object* x_122; 
x_122 = lean_ctor_get(x_24, 5);
if (lean_obj_tag(x_122) == 1)
{
lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; 
x_123 = lean_ctor_get(x_122, 0);
x_124 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__2;
x_125 = lean_string_append(x_121, x_124);
x_126 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_127 = lean_string_append(x_125, x_126);
x_128 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_123);
if (x_128 == 0)
{
lean_object* x_129; lean_object* x_130; 
x_129 = lean_string_append(x_127, x_123);
x_130 = lean_string_append(x_129, x_126);
x_97 = x_130;
goto block_120;
}
else
{
lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; 
x_131 = lean_unsigned_to_nat(0u);
x_132 = lean_string_utf8_byte_size(x_123);
lean_inc(x_123);
x_133 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_133, 0, x_123);
lean_ctor_set(x_133, 1, x_131);
lean_ctor_set(x_133, 2, x_132);
x_134 = l_String_Slice_positions(x_133);
x_135 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___redArg(x_133, x_123, x_134, x_127);
lean_dec_ref(x_133);
x_136 = lean_string_append(x_135, x_126);
x_97 = x_136;
goto block_120;
}
}
else
{
x_97 = x_121;
goto block_120;
}
}
block_207:
{
lean_object* x_139; 
x_139 = lean_ctor_get(x_24, 4);
if (lean_obj_tag(x_139) == 1)
{
lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; 
x_140 = lean_ctor_get(x_139, 0);
x_141 = lean_ctor_get(x_140, 1);
x_142 = lean_ctor_get(x_141, 1);
x_143 = lean_ctor_get(x_141, 0);
x_144 = lean_ctor_get(x_140, 2);
x_145 = lean_ctor_get(x_144, 1);
x_146 = lean_ctor_get(x_144, 0);
x_147 = lean_ctor_get(x_140, 0);
x_148 = lean_ctor_get(x_142, 0);
x_149 = lean_ctor_get(x_142, 1);
x_150 = lean_ctor_get(x_143, 0);
x_151 = lean_ctor_get(x_143, 1);
x_152 = lean_ctor_get(x_145, 0);
x_153 = lean_ctor_get(x_145, 1);
x_154 = lean_ctor_get(x_146, 0);
x_155 = lean_ctor_get(x_146, 1);
x_156 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__3;
x_157 = lean_string_append(x_138, x_156);
x_158 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__0;
x_159 = lean_string_append(x_157, x_158);
x_160 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__0;
x_161 = lean_string_append(x_159, x_160);
x_162 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__0;
x_163 = lean_string_append(x_161, x_162);
lean_inc(x_149);
x_164 = l_Nat_reprFast(x_149);
x_165 = lean_string_append(x_163, x_164);
lean_dec_ref(x_164);
x_166 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__1;
x_167 = lean_string_append(x_165, x_166);
lean_inc(x_148);
x_168 = l_Nat_reprFast(x_148);
x_169 = lean_string_append(x_167, x_168);
lean_dec_ref(x_168);
x_170 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0;
x_171 = lean_string_append(x_169, x_170);
x_172 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__1;
x_173 = lean_string_append(x_171, x_172);
x_174 = lean_string_append(x_173, x_162);
lean_inc(x_151);
x_175 = l_Nat_reprFast(x_151);
x_176 = lean_string_append(x_174, x_175);
lean_dec_ref(x_175);
x_177 = lean_string_append(x_176, x_166);
lean_inc(x_150);
x_178 = l_Nat_reprFast(x_150);
x_179 = lean_string_append(x_177, x_178);
lean_dec_ref(x_178);
x_180 = lean_string_append(x_179, x_170);
x_181 = lean_string_append(x_180, x_170);
x_182 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__1;
x_183 = lean_string_append(x_181, x_182);
x_184 = lean_string_append(x_183, x_147);
x_185 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_186 = lean_string_append(x_184, x_185);
x_187 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__2;
x_188 = lean_string_append(x_186, x_187);
x_189 = lean_string_append(x_188, x_160);
x_190 = lean_string_append(x_189, x_162);
lean_inc(x_153);
x_191 = l_Nat_reprFast(x_153);
x_192 = lean_string_append(x_190, x_191);
lean_dec_ref(x_191);
x_193 = lean_string_append(x_192, x_166);
lean_inc(x_152);
x_194 = l_Nat_reprFast(x_152);
x_195 = lean_string_append(x_193, x_194);
lean_dec_ref(x_194);
x_196 = lean_string_append(x_195, x_170);
x_197 = lean_string_append(x_196, x_172);
x_198 = lean_string_append(x_197, x_162);
lean_inc(x_155);
x_199 = l_Nat_reprFast(x_155);
x_200 = lean_string_append(x_198, x_199);
lean_dec_ref(x_199);
x_201 = lean_string_append(x_200, x_166);
lean_inc(x_154);
x_202 = l_Nat_reprFast(x_154);
x_203 = lean_string_append(x_201, x_202);
lean_dec_ref(x_202);
x_204 = lean_string_append(x_203, x_170);
x_205 = lean_string_append(x_204, x_170);
x_206 = lean_string_append(x_205, x_170);
x_121 = x_206;
goto block_137;
}
else
{
x_121 = x_138;
goto block_137;
}
}
block_219:
{
lean_object* x_209; 
x_209 = lean_ctor_get(x_24, 3);
if (lean_obj_tag(x_209) == 1)
{
lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; 
x_210 = lean_ctor_get(x_209, 0);
x_211 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__4;
x_212 = lean_string_append(x_208, x_211);
x_213 = lean_unbox(x_210);
x_214 = l_Lean_Lsp_CompletionItemKind_ctorIdx(x_213);
x_215 = lean_unsigned_to_nat(1u);
x_216 = lean_nat_add(x_214, x_215);
lean_dec(x_214);
x_217 = l_Nat_reprFast(x_216);
x_218 = lean_string_append(x_212, x_217);
lean_dec_ref(x_217);
x_138 = x_218;
goto block_207;
}
else
{
x_138 = x_208;
goto block_207;
}
}
block_223:
{
lean_object* x_221; lean_object* x_222; 
x_221 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0;
x_222 = lean_string_append(x_220, x_221);
x_208 = x_222;
goto block_219;
}
block_243:
{
lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; uint8_t x_234; 
x_227 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__4;
x_228 = lean_string_append(x_224, x_227);
x_229 = lean_string_append(x_228, x_226);
lean_dec_ref(x_226);
x_230 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__5;
x_231 = lean_string_append(x_229, x_230);
x_232 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_233 = lean_string_append(x_231, x_232);
x_234 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_225);
if (x_234 == 0)
{
lean_object* x_235; lean_object* x_236; 
x_235 = lean_string_append(x_233, x_225);
lean_dec_ref(x_225);
x_236 = lean_string_append(x_235, x_232);
x_220 = x_236;
goto block_223;
}
else
{
lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; 
x_237 = lean_unsigned_to_nat(0u);
x_238 = lean_string_utf8_byte_size(x_225);
lean_inc_ref(x_225);
x_239 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_239, 0, x_225);
lean_ctor_set(x_239, 1, x_237);
lean_ctor_set(x_239, 2, x_238);
x_240 = l_String_Slice_positions(x_239);
x_241 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___redArg(x_239, x_225, x_240, x_233);
lean_dec_ref(x_225);
lean_dec_ref(x_239);
x_242 = lean_string_append(x_241, x_232);
x_220 = x_242;
goto block_223;
}
}
block_253:
{
lean_object* x_245; 
x_245 = lean_ctor_get(x_24, 2);
if (lean_obj_tag(x_245) == 1)
{
lean_object* x_246; uint8_t x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; 
x_246 = lean_ctor_get(x_245, 0);
x_247 = lean_ctor_get_uint8(x_246, sizeof(void*)*1);
x_248 = lean_ctor_get(x_246, 0);
x_249 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__5;
x_250 = lean_string_append(x_244, x_249);
if (x_247 == 0)
{
lean_object* x_251; 
x_251 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__6;
lean_inc_ref(x_248);
x_224 = x_250;
x_225 = x_248;
x_226 = x_251;
goto block_243;
}
else
{
lean_object* x_252; 
x_252 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__7;
lean_inc_ref(x_248);
x_224 = x_250;
x_225 = x_248;
x_226 = x_252;
goto block_243;
}
}
else
{
x_208 = x_244;
goto block_219;
}
}
block_270:
{
lean_object* x_255; 
x_255 = lean_ctor_get(x_24, 1);
if (lean_obj_tag(x_255) == 1)
{
lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t x_261; 
x_256 = lean_ctor_get(x_255, 0);
x_257 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__6;
x_258 = lean_string_append(x_254, x_257);
x_259 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1;
x_260 = lean_string_append(x_258, x_259);
x_261 = l___private_Lean_Data_Json_Printer_0__Lean_Json_needEscape(x_256);
if (x_261 == 0)
{
lean_object* x_262; lean_object* x_263; 
x_262 = lean_string_append(x_260, x_256);
x_263 = lean_string_append(x_262, x_259);
x_244 = x_263;
goto block_253;
}
else
{
lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; 
x_264 = lean_unsigned_to_nat(0u);
x_265 = lean_string_utf8_byte_size(x_256);
lean_inc(x_256);
x_266 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_266, 0, x_256);
lean_ctor_set(x_266, 1, x_264);
lean_ctor_set(x_266, 2, x_265);
x_267 = l_String_Slice_positions(x_266);
x_268 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___redArg(x_266, x_256, x_267, x_260);
lean_dec_ref(x_266);
x_269 = lean_string_append(x_268, x_259);
x_244 = x_269;
goto block_253;
}
}
else
{
x_244 = x_254;
goto block_253;
}
}
}
block_8:
{
lean_object* x_6; 
x_6 = lean_nat_add(x_3, x_4);
lean_dec(x_3);
x_1 = x_5;
x_3 = x_6;
goto _start;
}
block_18:
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; 
x_11 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0;
x_12 = lean_string_append(x_10, x_11);
x_13 = lean_unsigned_to_nat(1u);
x_14 = lean_nat_sub(x_9, x_13);
lean_dec(x_9);
x_15 = lean_nat_dec_lt(x_3, x_14);
lean_dec(x_14);
if (x_15 == 0)
{
x_4 = x_13;
x_5 = x_12;
goto block_8;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__15;
x_17 = lean_string_append(x_12, x_16);
x_4 = x_13;
x_5 = x_17;
goto block_8;
}
}
block_22:
{
lean_object* x_20; lean_object* x_21; 
x_20 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__0;
x_21 = lean_string_append(x_19, x_20);
x_10 = x_21;
goto block_18;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___00__private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast_spec__0___redArg(x_1, x_2, x_3, x_4);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast(x_1, x_2, x_3);
lean_dec_ref(x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("{\"isIncomplete\":", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(",\"items\":[", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("]}", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("false", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("true", 4, 4);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_ResolvableCompletionList_compressFast(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*1);
x_3 = lean_ctor_get(x_1, 0);
x_4 = l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__0;
if (x_2 == 0)
{
lean_object* x_14; 
x_14 = l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__3;
x_5 = x_14;
goto block_13;
}
else
{
lean_object* x_15; 
x_15 = l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__4;
x_5 = x_15;
goto block_13;
}
block_13:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_6 = lean_string_append(x_4, x_5);
lean_dec_ref(x_5);
x_7 = l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__1;
x_8 = lean_string_append(x_6, x_7);
x_9 = lean_unsigned_to_nat(0u);
x_10 = l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemsFast(x_8, x_3, x_9);
x_11 = l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__2;
x_12 = lean_string_append(x_10, x_11);
return x_12;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_ResolvableCompletionList_compressFast___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Lsp_ResolvableCompletionList_compressFast(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
lean_object* initialize_Lean_Data_Lsp_LanguageFeatures(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Server_Completion_CompletionItemCompression(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Data_Lsp_LanguageFeatures(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__0 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__0();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__0);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__1);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__2 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__2();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__2);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__3 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__3();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__3);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__4 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__4();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__4);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__5 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__5();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__5);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__6);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__7 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__7();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__7);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__8 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__8();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__8);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__9 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__9();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__9);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__10 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__10();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__10);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__11 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__11();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__11);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__12 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__12();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__12);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__13);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__14 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__14();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__14);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__15 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__15();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemDataFast___closed__15);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__0);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__1 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__1();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__1);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__2 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__2();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__2);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__3 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__3();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__3);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__4 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__4();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__4);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__5 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__5();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__5);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__6 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__6();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__6);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__7 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__7();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressMarkupContentFast___closed__7);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__0 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__0();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__0);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__1 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__1();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressPositionFast___closed__1);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__0 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__0();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__0);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__1 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__1();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressRangeFast___closed__1);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__0 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__0();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__0);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__1 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__1();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__1);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__2 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__2();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressEditFast___closed__2);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast___closed__0 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast___closed__0();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressCompletionTagsFast___closed__0);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__0 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__0();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__0);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__1 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__1();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__1);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__2 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__2();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__2);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__3 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__3();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__3);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__4 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__4();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__4);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__5 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__5();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__5);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__6 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__6();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__6);
l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__7 = _init_l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__7();
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemCompression_0__Lean_Lsp_ResolvableCompletionList_compressItemFast___closed__7);
l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__0 = _init_l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__0();
lean_mark_persistent(l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__0);
l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__1 = _init_l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__1();
lean_mark_persistent(l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__1);
l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__2 = _init_l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__2();
lean_mark_persistent(l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__2);
l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__3 = _init_l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__3();
lean_mark_persistent(l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__3);
l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__4 = _init_l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__4();
lean_mark_persistent(l_Lean_Lsp_ResolvableCompletionList_compressFast___closed__4);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
